package com.netcombine.freewill.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netcombine.freewill.mapper.MemberMapper;
import com.netcombine.freewill.vo.FreewillVo;
import com.netcombine.freewill.vo.PagingVo;

@Service
public class MemberService{
	
	@Autowired
	private MemberMapper memberMapper;
	
	public FreewillVo selectMemberInfo(FreewillVo vo){
		
		return memberMapper.selectMemberInfo(vo);
	}
	
	
	public List<FreewillVo> selectMemberList(FreewillVo vo){
		
		return memberMapper.selectMemberList(vo);
	}

	public int selectMemberCount(FreewillVo vo) {
		
		return memberMapper.selectMemberCount(vo);
	}
	public int insertMember(FreewillVo memberVo){
		
		return memberMapper.insertMember(memberVo);
	}
	public int updateMember(FreewillVo memberVo){
		
		return memberMapper.updateMember(memberVo);
	}

	public int deleteMember(FreewillVo memberVo) {
		
		return memberMapper.deleteMember(memberVo);
	}
	
}